package com.nowcoder.community.dao;

import org.springframework.context.annotation.Primary;
import org.springframework.stereotype.Repository;

/**
 * @author 黄小白
 * @version 1.0
 */
@Repository
// 在不同的实现方法中可以被优先加载
@Primary
public class AlphaDaoMybatisImpl  implements AlphaDao{
    @Override
    public String select() {
        return "MybatisImpl";
    }
}
